from src.admin_panel.app.views import MyBaseModelView


class ProductModelView(MyBaseModelView):
    column_list = ("id", "login", "email", "category", "order")

    column_filters = (
        "login",
        "password",
        "email",
        "category",
    )

    column_labels = {
        "first_name": "Имя",
        "last_name": "Фамилия",
        "year": "Год",
        "month": "Месяц",
        "day": "День",
        "gender": "Пол",
        "house_num": "Номер дома",
        "street_name": "Название улицы",
        "post_code": "Посткод",
        "login": "Логин",
        "password": "Пароль",
        "email": "Email",
        "category": "Категория",
        "order": "Заказ",
    }
